home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 4 / developer source - volume 4.iso / parad / feb94 / horo15.gif < prev    next >
Graphics Interchange Format  |  1996-07-01  |  40KB  |  544x396  |  4-bit (15 colors)
Labels: text | screenshot | display | software | number | font
OCR: FORMC :: #Form1 :: open method open(var eventInfo Event) var formLib Library endVar if not eventInfo.isPreFilter() then ; Hide this form until it is OK to show it. hide() formLib.open("Formlib.lsl", GlobalToDeskTop) ; The ID for form C has to be referenced identically both in the calling form and the called form. The ID need not be the file ; name or form title, as long as it is referenced identically. if not formLib.formIsEnabled("FormC-ID") then msgInfo("Sorry.", "This form cannot be opened directly. \n"+ "It can only be called by another form.") self.close() return endIf ; We must now disable our semaphore to prevent further ; opening of the form except under application control. formLib.disableForm("FormC-ID") Show( ) endIf endMethod Edit Line: 19 Col: 10